import { readFileSync } from 'node:fs'
import path from 'node:path'

export default (app) => {
  app.get(`/__doc__.html`, ctx => ctx.send(readFileSync(path.join(__dirname, './index.html')).toString()))
}
